/*
 * lib2Desa - Another 2D game library in C++
 * Copyright (C) 2009 Erivaldo Xavier de Lima Filho
 *
 * This program is free software and is distributed under GNU General Public License version 3. You can modify and/or redistribute
 * it under the terms of GPL version 3 or posterior version. This program comes with NO WARRANTY, for more details, see LICENSE,
 * or <http://www.gnu.org/licenses>.
 *
 * Contact info:
 *
 *	Erivaldo Xavier de Lima Filho, desadoc@gmail.com
 *
 */

#ifndef _COLLISIONSIMPLERULE_HPP
#define _COLLISIONSIMPLERULE_HPP

#include "Core/IGameRule.hpp"
#include "Core/Rect.hpp"

#include <list>

#ifndef _NO_NAMESPACE
namespace lib2Desa {
#endif

class CollisionSimpleRule : public IGameRule
{

private:

	void processGroup(shared_ptr<GameObjectGroup> g);

public:

	virtual ~CollisionSimpleRule(void){}

	virtual const shared_ptr<IEvent> pollEvent(void)
	{
		// DUMMY
		return shared_ptr<IEvent>();
	}

	virtual void addListener(const shared_ptr<IEventListener>& l)
	{
		// DUMMY
	}

	virtual void removeListener(const shared_ptr<IEventListener>& l)
	{
		// DUMMY
	}

	virtual void processEvents(void);

	virtual void notifyListeners(void)
	{
		// DUMMY
	}
};


#ifndef _NO_NAMESPACE
}
#endif

#endif /*IGameRule.hpp included*/
